package org.wuliu.pojo;

public class Hebao {
    private Integer id;
    private String chengshi;
    private String guanlian;

    public String getGuanlian() {
        return guanlian;
    }

    public void setGuanlian(String guanlian) {
        this.guanlian = guanlian;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getChengshi() {
        return chengshi;
    }

    public void setChengshi(String chengshi) {
        this.chengshi = chengshi;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        Hebao hebao = (Hebao) o;

        if (id != null ? !id.equals(hebao.id) : hebao.id != null) return false;
        if (chengshi != null ? !chengshi.equals(hebao.chengshi) : hebao.chengshi != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (chengshi != null ? chengshi.hashCode() : 0);
        return result;
    }
}
